package com.atguigu.spzx.product.vo;

import com.atguigu.spzx.product.entity.Category;
import com.atguigu.spzx.product.entity.ProductSku;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 首页数据查询反参
 * </p>
 *
 * @author flyduck
 * @since 2023/11/3
 */
@Data
@ApiModel(description = "首页数据查询反参")
public class IndexQueryRespVo {

    private List<IndexQueryInnerCategory> categoryList;

    private List<IndexQueryInnerProductSku> productSkuList;

    @Data
    @ApiModel(description = "首页数据-分类内部类")
    public static class IndexQueryInnerCategory extends Category {

    }

    @Data
    @ApiModel(description = "首页数据-商品sku内部类")
    public static class IndexQueryInnerProductSku extends ProductSku {

    }

}
